package com.kly.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员福利表
 */
public class MemberBenefitsDto implements Serializable {

    private static final long serialVersionUID = 1110232220119946740L;


    /**
     *会员代码
     */
    private String memberCode;
    /**
     *福利代码
     */
    private Integer benefitCode;
    /**
     *福利名称
     */
    private String benefitName;
    /**
     *状态
     */
    private Integer status;
    /**
     *生效日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM/dd/yyyy")
    private Date effectiveDate;
    /**
     *过期日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM/dd/yyyy")
    private Date expiryDate;
    /**
     *使用次数
     */
    private Integer timesUsed;
    /**
     *最大使用次数
     */
    private Integer maxUses;

    public String getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }

    public Integer getBenefitCode() {
        return benefitCode;
    }

    public void setBenefitCode(Integer benefitCode) {
        this.benefitCode = benefitCode;
    }

    public String getBenefitName() {
        return benefitName;
    }

    public void setBenefitName(String benefitName) {
        this.benefitName = benefitName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    public Integer getTimesUsed() {
        return timesUsed;
    }

    public void setTimesUsed(Integer timesUsed) {
        this.timesUsed = timesUsed;
    }

    public Integer getMaxUses() {
        return maxUses;
    }

    public void setMaxUses(Integer maxUses) {
        this.maxUses = maxUses;
    }

}
